package com.byb.server.service.mapper;

import com.byb.server.domain.*;
import com.byb.server.service.dto.WcClainPartyDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity WcClainParty and its DTO WcClainPartyDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface WcClainPartyMapper extends EntityMapper <WcClainPartyDTO, WcClainParty> {
    
    
    default WcClainParty fromId(Long id) {
        if (id == null) {
            return null;
        }
        WcClainParty wcClainParty = new WcClainParty();
        wcClainParty.setId(id);
        return wcClainParty;
    }
}
